<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            width: 200px;
            border: 1px solid #000;
        }
        .test1{
            word-break: normal;
        }
        .test2{
            word-break: break-all;
        }
        .test3,.test4{
            word-break: keep-all;
        }
    </style>
</head>
<body>
    <p >Dad only had to hear the song twice beforhelearneditwellenoughto play it."Davey, Davey Crockett, King of the Wild Frontier" was a favorite song for the family.</p>
    <p class="test1">Dad only had to hear the song twice beforhelearneditwellenoughto play it."Davey, Davey Crockett, King of the Wild Frontier" was a favorite song for the family.</p>
    <p class="test2">Dad only had to hear the song twice beforhelearneditwellenoughto play it."Davey, Davey Crockett, King of the Wild Frontier" was a favorite song for the family.</p>
    <p class="test3">Dad only had to hear the song twice beforhelearneditwellenoughto play it."Davey, Davey Crockett, King of the Wild Frontier" was a favorite song for the family.</p>
    <p class="test4">Dad only had to hear the song twice beforhelearned itwellenoughto play it."Davey, Davey Crockett, King of the Wild Frontier" was a favorite song for the family.</p>
</body>
</html>